<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019-03-21
 * Time: 22:22
 */

namespace app\admin\validate;


use think\Validate;

class Tool extends Validate
{
    protected $rule=[
        'name|器具名称'=>'require',
        'num|最大借出天' =>'require|number',
        'lab_id|实验室'=>'require',
        'type|类型'  =>'require',
    ];
}